<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>选择器</title>
</head>
<body>

<div id="box">a</div>
<div id="wrap">b</div>

<script src="../node_modules/d3/build/d3.min.js"></script>
<script>
   let d = d3.selectAll('div').text('this word write by d3');
   d.style('color','red');
   d.style('height','50px');

</script>

</body>
</html>